* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: montserrat;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: url(../images/timg.jfif);
    background-size: cover;
}

.register-form {
    width: 460px;
    background-color: rgba(225, 240, 220, 0.9);
    height: 580px;
    padding: 80px 40px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 1px 5px 5px #ccc;
}

.register-form h1 {
    text-align: center;
    margin-bottom: 30px;
}

.txtb {
    border-bottom: 2px solid #ccc;
    position: relative;
    margin: 30px 0
}

.txtb input {
    font-size: 15px;
    color: #333;
    border: none;
    width: 100%;
    height: 40px;
    outline: none;
    background: transparent;
    padding: 0 5px;
}

.txtb span::before {
    content: attr(data-placeholder);
    position: absolute;
    top: 50%;
    left: 5px;
    color: rgb(50, 80, 60);
    transform: translateY(-50%);
    z-index: -1;
    transition: .5s;
}

.txtb span::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgb(72, 212, 166), greenyellow);
    transition: .5s;
}

.focus+span::before {
    top: -5px;
    left: 10px;
}

.focus+span::after {
    width: 100%;
}

.logbtn {
    display: block;
    width: 100%;
    height: 50px;
    border: none;
    background: linear-gradient(120deg, rgb(72, 212, 166), greenyellow);
    background-size: 200%;
    color: #fff;
    outline: none;
    cursor: pointer;
    transition: .5s;
    margin-top: 30px;
}

.logbtn:hover {
    background-position: right;
}

.bottom-text {
    width: 100%;
    height: 40px;
    text-align: left;
    font-size: 17px;
    margin-top: 30px;
}

.bottom-text a {
    font-size: 17px;
}

.bottom-text a:link {
    color: #000;
}

.bottom-text a:visited {
    color: #000;
}

.bottom-text a:hover {
    color: rgb(38, 133, 101);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}